
<%@ page import="esconceito.Video"%>
<!DOCTYPE html>
<html>
<head>
<meta name="layout" content="main">
<g:set var="entityName"
	value="${message(code: 'video.label', default: 'Video')}" />
<title><g:message code="default.show.label" args="[entityName]" /></title>
</head>
<body>
	<a href="#show-video" class="skip" tabindex="-1"><g:message
			code="default.link.skip.label" default="Skip to content&hellip;" /></a>
	<div class="nav" role="navigation">
		<ul>
			<li><a class="home" href="${createLink(uri: '/')}"><g:message
						code="default.home.label" /></a></li>
			<li><g:link class="list" action="index">
					<g:message code="default.list.label" args="[entityName]" />
				</g:link></li>
			<li><g:link class="create" action="create">
					<g:message code="default.new.label" args="[entityName]" />
				</g:link></li>
		</ul>
	</div>
	<div id="show-video" class="content scaffold-show" role="main">
		<h1>
			<g:message code="default.show.label" args="[entityName]" />
		</h1>
		<g:if test="${flash.message}">
			<div class="message" role="status">
				${flash.message}
			</div>
		</g:if>
		<ol class="property-list video">
			<g:if test="${videoInstance?.conceitos}">
				<li class="fieldcontain"><span id="conceitos-label"
					class="property-label"><g:message
							code="video.conceitos.label" default="Conceitos" /></span> <g:each
						in="${videoInstance.conceitos}" var="c">
						<span class="property-value" aria-labelledby="conceitos-label"><g:link
								controller="conceito" action="show" id="${c.id}">
								${c?.encodeAsHTML()}
							</g:link></span>
					</g:each></li>
			</g:if>


			<g:if test="${videoInstance?.linkYoutube}">
				<li class="fieldcontain">
					<span id="linkYoutube-label"
					class="property-label"><g:message
							code="video.linkYoutube.label" default="Link Youtube" /></span>
					<span	class="property-value" aria-labelledby="linkYoutube-label"><g:link
							url="${videoInstance.linkYoutube}" target="_blank">
							${videoInstance.linkYoutube}
						</g:link></span>
				</li>

			<g:if test="${videoInstance?.linkYoutube}">
				<li class="fieldcontain">
				<span id="linkYoutube-label" class="property-label">Video</span>
				<span	class="property-value" aria-labelledby="linkYoutube-label">
				<object width="600" height="355">
						<param name="movie"
							value="${videoInstance.linkYoutube}?rel=1&color1=0x2b405b&color2=0x6b8ab6&border=1&fs=1"></param>
						<param name="allowFullScreen" value="true"></param>
						<embed
							src="${videoInstance.linkYoutube}?rel=1&color1=0x2b405b&color2=0x6b8ab6&border=1&fs=1"
							type="application/x-shockwave-flash" width="600" height="355"
							allowfullscreen="true"></embed>
				</object>
				</span>
				</li>
			</g:if>
			</g:if>

		</ol>
		<g:form url="[resource:videoInstance, action:'delete']"
			method="DELETE">
			<fieldset class="buttons">
				<g:link class="edit" action="edit" resource="${videoInstance}">
					<g:message code="default.button.edit.label" default="Edit" />
				</g:link>
				<g:actionSubmit class="delete" action="delete"
					value="${message(code: 'default.button.delete.label', default: 'Delete')}"
					onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
			</fieldset>
		</g:form>
	</div>
</body>
</html>
